//
//  Meeting.h
//  ZhumuSDKSample
//
//  Copyright 2006-2015 SUIRUI Co., Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
//Base
@interface Meeting : NSObject

@end




//会议的请求数据
@interface RequestMeeting : Meeting

@property(nonatomic, strong) NSString* api_key;
@property(nonatomic, strong) NSString* api_secret;
@property(nonatomic, assign) NSInteger login_type;
@property(nonatomic, strong) NSString* login_name;

-(instancetype)initWithKey:(NSString *)key secret:(NSString *)secret type:(NSInteger)type name:(NSString *)name;

@end




//对于即时会议、会议号入会的基础信息
@interface MeetingInfo : Meeting

@property(nonatomic, strong) NSString* userID;
@property(nonatomic, strong) NSString* userName;
@property(nonatomic, strong) NSString* token;
@property(nonatomic, strong) NSString* meetingID;
@property(nonatomic, assign) BOOL isOwner;

//会议号入会
-(instancetype)initWithName:(NSString *)name meetingID:(NSString *)meetingID;
//通过json数据解析会议信息
-(instancetype)initWithDictData:(NSDictionary *)dic;

@end





//会议请求结果的完整信息
@interface MeetingFullInfo : MeetingInfo

@property(nonatomic, assign) NSInteger code;
@property(nonatomic, strong) NSString* zcode;
@property(nonatomic, strong) NSString* mobile;
@property(nonatomic, assign) NSInteger usertype;
@property(nonatomic, strong) NSString* det;
@property(nonatomic, strong) NSString* createtime;
@property(nonatomic, strong) NSString* createby;
@property(nonatomic, strong) NSString* role;
@property(nonatomic, strong) NSString* email;
@property(nonatomic, strong) NSString* msg;

@end
